package com.dream.technology.db.dao;

import com.dream.technology.db.entity.RcCustomerTagItem;
import com.dream.technology.db.entity.RcCustomerTagItemQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RcCustomerTagItemMapper {
    int countByExample(RcCustomerTagItemQuery example);

    int deleteByExample(RcCustomerTagItemQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(RcCustomerTagItem record);

    int insertSelective(RcCustomerTagItem record);

    List<RcCustomerTagItem> selectByExample(RcCustomerTagItemQuery example);

    RcCustomerTagItem selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RcCustomerTagItem record, @Param("example") RcCustomerTagItemQuery example);

    int updateByExample(@Param("record") RcCustomerTagItem record, @Param("example") RcCustomerTagItemQuery example);

    int updateByPrimaryKeySelective(RcCustomerTagItem record);

    int updateByPrimaryKey(RcCustomerTagItem record);
    int insertList(List<RcCustomerTagItem> tagItemList);
}